const mongoose = require('./mongodb')
const Schema = mongoose.Schema

const greetingSchema = new Schema({
    name: String,
    desc: String
})

const GreetingModel = mongoose.model('greeting', greetingSchema)

module.exports = { GreetingModel } 